Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GcWordDocument Class / SplitDocument Method / SplitDocument(FormattingCopyStrategy,RangeBase[]) Method
The formatting copy strategy to use.
An array of ranges in the current document.

In This Topic
    SplitDocument(FormattingCopyStrategy,RangeBase[]) Method
    In This Topic
    Splits the current document into several documents based on specified ranges and a common formatting copy strategy.
    Syntax
    'Declaration
     
    Public Overloads Function SplitDocument( _
       ByVal copyStrategy As FormattingCopyStrategy, _
       ByVal ParamArray splitRanges() As RangeBase _
    ) As System.Collections.Generic.IEnumerable(Of GcWordDocument)
    public System.Collections.Generic.IEnumerable<GcWordDocument> SplitDocument( 
       FormattingCopyStrategy copyStrategy,
       params RangeBase[] splitRanges
    )

    Parameters

    copyStrategy
    The formatting copy strategy to use.
    splitRanges
    An array of ranges in the current document.

    Return Value

    A collection of documents created according to the specified splitRanges.
    See Also